package com.candy.bean;

public class Teacher {
    private int teaNo;
    private String teaName;

    private Teacher() {
    }

    public int getTeaNo() {
        return teaNo;
    }

    public void setTeaNo(int teaNo) {
        this.teaNo = teaNo;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    //    static修饰的方法为静态方法
    public static void sayHello(){
        System.out.println("你好");
    }

}
